package com.yykj.common.constant;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by chendg on 2019/6/28 0028.
 */
public interface CommonConstant {

    String TOKEN = "token";

    String ENCRYPT_PREFIX = "yykj";

    String ADMIN = "admin";

    String DEFAULT_PASSWORD = "123456";
    //	视频问诊，图文问诊，语音问诊
    String VIDEO = "视频问诊";
    String VOICE = "语音问诊";
    String PIC = "图文问诊";
    String XU_FANG = "继方问诊";

    BigDecimal MAX_PRICE = new BigDecimal("1000000");
    BigDecimal MIN_PRICE = new BigDecimal("0.01");

    BigDecimal DEFAULT_PRICE = new BigDecimal(50);
    BigDecimal VIDEO_PRICE = DEFAULT_PRICE;
    BigDecimal VOICE_PRICE = DEFAULT_PRICE;
    BigDecimal PIC_PRICE = DEFAULT_PRICE;

    Integer BEFORE_APPOINTMENT_MINUTE = 60;// 最少提前 1小时预约

    Map<Integer, String> dayOfWeekMap = new HashMap<Integer, String>() {
        {
            put(1, "星期一");
            put(2, "星期二");
            put(3, "星期三");
            put(4, "星期四");
            put(5, "星期五");
            put(6, "星期六");
            put(7, "星期日");
        }
    };

    int DEFAULT_DURATION = 30;
    String DEFAULT_DOCTOR_HEADIMG = "https://file.yaoyanglao.com/static/default_doctor_icon.png";
    int PAY_PASSWORD_MAX_FAIL_CNT = 5;
}
